import { createRouter, createWebHistory } from "vue-router";
const dashboardPrefix = "/dashboard/";
const paymentPrefix = "/payment/";

const routesConfigs = [
    {
        path:"/",
        component:()=>import("../pages/dashboard/Index.vue")
    },
    {
        path:dashboardPrefix+"user",
        component:()=>import("../pages/dashboard/User.vue")
    },
    {
        path:paymentPrefix+"user",
        component:()=>import("../pages/dashboard/Index.vue")
    }
];

export default createRouter({
	history: createWebHistory(),
	routes: routesConfigs
});